package com.lam.dormitory.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class RepairVo {
    @ExcelIgnore
    private Long dorId;
    @ExcelProperty("宿舍楼")
    private Integer buildingNo;
    @ExcelProperty("宿舍号")
    private Integer dorNo;
    @ExcelProperty("报修单号")
    private Long repairId;
    @ExcelProperty("报修种类")
    private Integer repairKind;
    @ExcelProperty("报修原因")
    private String repairReason;
    @ExcelProperty("提交日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date submitDate;
    @ExcelProperty("解决日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date resolvedDate;
    @ExcelProperty("状态")
    private Integer status;

}
